<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="ja">
<head>
<link href="/css/itp.css" rel="stylesheet" type="text/css"/>

<title>IT ペンギン</title>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9363480-5']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>

<div id="head">
	<jsp:include page="header.jsp" />
</div>
<div id="outer">
	<div id="sidebar">
		<jsp:include page="sidebar.jsp" />
	</div>
	<div id="contents">
		<div id="breadcrumb">
			<c:if test="${! empty article}">
				<jsp:include page="breadcrumb.jsp" />
			</c:if>
		</div>
		<c:if test="${empty article}">
			<div id="top">
				<jsp:include page="top.jsp" />
			</div>
		</c:if>
		<c:if test="${! empty article}">
			<c:if test="${article.contextName == 'articles'}">
				<div id="article">
					<jsp:include page="article.jsp" />
				</div>
			</c:if>
			<c:if test="${article.contextName == 'series'}">
				<div id="series">
					<c:set value="${article}" var="series" scope="request"/>
					<jsp:include page="series.jsp" />
				</div>
			</c:if>
		</c:if>
	</div>
</div>
<jsp:include page="footer.jsp" />
</body>
</html>